package multi

import (
	"gitee.com/ichub/goconfig/godi/godifactroy"
	"gitee.com/ichub/goconfig/godi/internal/didto"
	"testing"
)

var DiFactroy = godifactroy.NewDiFactroy()

// find is not support multi entity
func Test001_FindMulti(t *testing.T) {
	//var bean1 = FindBeanMultiEntity()
	//
	//bean1.Name = "111"
	//var bean2 = FindBeanMultiEntity()
	//var bean3 = FindBeanMultiEntity()
	//bean2.Name = "1111222"
	//logrus.Info(bean1, bean2, bean3)
	//assert.Equal(t, bean1.Name != bean2.Name, true)

}
func Test002_makedi(t *testing.T) {

	var dto = didto.FindBeanDiDto() //NewDiDto()
	dto.PkgName = "multi"
	dto.StructName = "MultiEntity"
	DiFactroy.MakeDi(dto)
}
